/* Eigene Ergänzungen zum Theme vex (eingebunden über config.toml -> params.plugins.css) */

/* FAQ (Shortcode faq): gleiche Schriftgröße wie Absätze und Listen */
.content dl.faq dt,
.content dl.faq dd {
  font-size: 18px;
  line-height: 25px;
}

/* Tabellen im Fließtext */
.content table {
  font-size: 16px;
  line-height: 22px;
}
/* Breite Tabellen scrollen auf dem Smartphone seitlich, statt die Seite zu verbreitern */
.content .table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
}
.content .table-scroll > table {
  margin-bottom: 0;
}

/* Kennzahlen-Kacheln (Shortcode kennzahlen) */
.kennzahlen .kennzahl {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 20px 10px;
  border: 1px solid #e5e5e5;
  border-top: 4px solid #199450;
  border-radius: 4px;
  text-align: center;
  color: #3b4045;
  text-decoration: none;
  transition: box-shadow .2s;
}
.kennzahlen a.kennzahl:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}
.kennzahlen .kennzahl-wert {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
  color: #199450;
}
.kennzahlen .kennzahl-text {
  margin-top: 8px;
  font-size: 16px;
  line-height: 21px;
}
@media (max-width: 575px) {
  .kennzahlen .kennzahl-wert { font-size: 30px; }
  .kennzahlen .kennzahl-text { font-size: 14px; line-height: 19px; }
}

/* Mehrere lazyimg direkt untereinander (ein Absatz) ab Tablet-Breite nebeneinander */
@media (min-width: 768px) {
  .content p:has(> img.img-fluid + img.img-fluid) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: start;
  }
}
